package com.huluobo.mvvm.db.eneity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * 创建userInfo的数据库的表
 * Created by LC on 2023/9/16.
 */

@Entity(tableName = "user_info")
public class UserInfo {
    //主键自增
    @PrimaryKey(autoGenerate = true)
    public long id;

    //抖币余额
    @ColumnInfo(name = "coin_count")
    public int coinCount;

    @ColumnInfo(name = "user_id")
    public int userId;

    public int type;
    @ColumnInfo(name = "username")
    public String username;

    @ColumnInfo(name="icon")
    public String icon;

}
